package com.biz.primus.ms.commodity.event;

import com.biz.primus.commodity.vo.backend.productSort.DepotProductSortItemVo;
import com.biz.primus.ms.commodity.dao.po.DepotProductSortItem;

import java.util.List;

/**
 * 商品排序设置事件
 * 
 * @author Nian.Li
 * <br>2016年9月19日
 */
public class ProductSortEvent extends ProductEvent {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6881846396661956591L;
	
	private final Integer provinceId;
	
	private final List<DepotProductSortItem> depotProductSortItems;
	
	private final List<DepotProductSortItemVo> depotProductSortItemVoes;
	
	private final List<Long> depotProductSortProductIds;
	
	public ProductSortEvent(Object source, Integer provinceId, List<DepotProductSortItem> depotProductSortItems, List<DepotProductSortItemVo> depotProductSortItemVoes, List<Long> depotProductSortProductIds) {
		super(source);
		this.provinceId = provinceId;
		this.depotProductSortItems = depotProductSortItems;
		this.depotProductSortItemVoes = depotProductSortItemVoes;
		this.depotProductSortProductIds = depotProductSortProductIds;
	}

	public Integer getProvinceId() {
		return provinceId;
	}

	public List<DepotProductSortItem> getDepotProductSortItems() {
		return depotProductSortItems;
	}

	public List<DepotProductSortItemVo> getDepotProductSortItemVoes() {
		return depotProductSortItemVoes;
	}

	public List<Long> getDepotProductSortProductIds() {
		return depotProductSortProductIds;
	}

}
